package com.oil.business.domain;

import java.awt.print.PrinterGraphics;
import java.util.Date;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.oil.common.annotation.Excel;
import com.oil.common.core.domain.BaseEntity;

/**
 * 活动配置对象 t_activity_config
 * 
 * @author ruoyi
 * @date 2023-01-05
 */
@Data
public class TActivityConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 活动ID */
    @Excel(name = "活动ID")
    private Long actId;

    /** 达标金额(分) */
    @Excel(name = "达标金额(分)")
    private Long targetAmt;

    /** 满减金额(分) */
    @Excel(name = "满减金额(分)")
    private Long reduceAmt;

    /** 参与活动的用户 */
    @Excel(name = "参与活动的用户")
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date crtTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String crtBy;

    /** $column.columnComment */
    private Integer delFlag;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date updTime;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updBy;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("actId", getActId())
            .append("targetAmt", getTargetAmt())
            .append("reduceAmt", getReduceAmt())
            .append("userId", getUserId())
            .append("crtTime", getCrtTime())
            .append("crtBy", getCrtBy())
            .append("delFlag", getDelFlag())
            .append("updTime", getUpdTime())
            .append("updBy", getUpdBy())
            .toString();
    }
}
